package com.example.hidesms.dao;

import android.database.Cursor;

import com.example.hidesms.dto.BlockCallItem;
import com.example.hidesms.dto.BlockSmsItem;
import com.example.hidesms.dto.SMSItem;
import com.example.hidesms.sqlite.DataBaseHelper;

public interface IBlockCallDAO {

	public boolean insert(DataBaseHelper myDatabase, BlockCallItem call);

	public boolean update(DataBaseHelper myDatabase, BlockCallItem call);

	public boolean delete(DataBaseHelper myDatabase, int smsId);

	public Cursor getAll(DataBaseHelper myDatabase, String folderGroup, boolean flag);

	public Cursor getAllByRead(DataBaseHelper myDatabase, String read);
	
	public Cursor getById(DataBaseHelper myDatabase, int smsId);
	
	public Cursor getByAdress(DataBaseHelper myDatabase, String address);

}
